<?php foreach ($results as $row => $product) {?>
<div>
	<span class="pull-right"><h4 class="erode" style="text-align: right; color: white;margin-bottom: 0px;"><span class="pull-right"><?=$product['stime']?></span></h4></span>
	<div class="clearfix"></div>
	<hr style="margin-top: 5px; margin-bottom: 5px;"/>
</div>

<div class="jumbotron" style="background: #f5f5f5; ">
	<div class="row">
		<p class="col-lg-12">
			<span><b><?=$product['name']?></b></span>
			<div class="clearfix"></div>
		</p>
		<div class="col-lg-4">
			<div class="panel panel-default">
				<style type="text/css">
					.slideBox{ position:relative; overflow:hidden; margin:0px auto;  max-width:560px; /* 设置焦点图最大宽度 */ }
					.slideBox .hd{ position:absolute; height:28px; line-height:28px; bottom:0; right:0; z-index:1; display: none;}
					.slideBox .hd li{ display:inline-block; width:5px; height:5px; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; background:#333; text-indent:-9999px; overflow:hidden; margin:0 6px;   }
					.slideBox .hd li.on{ background:#fff;  }
					.slideBox .bd{ position:relative; z-index:0; }
					.slideBox .bd li{ position:relative; text-align:center;  }
					.slideBox .bd li img{ /*background:url(images/loading.gif) center center no-repeat;*/  vertical-align:top; width:100%;/* 图片宽度100%，达到自适应效果 */}
					.slideBox .bd li a{ -webkit-tap-highlight-color:rgba(0,0,0,0);  }  /* 去掉链接触摸高亮 */
					.slideBox .bd li .tit{ display:block; width:100%;  position:absolute; bottom:0; text-indent:10px; height:28px; line-height:28px; /*background:url(images/focusBg.png) repeat-x;*/ color:#fff;  text-align:left;  }

					.erode{color:#369;font-weight:bold;text-shadow:0 0 1px currentColor,1px 1px 1px #000,2px 2px 3px #000}
					.erode:after{content:'Erode';color:#fff;text-shadow:0 0 1px #fff;-webkit-filter:url(#erode2);filter:url(#erode2)}
				</style>
				
				<div id="slideBox" class="slideBox">

					<div class="bd">
						<ul>
						<?php foreach ($product['goods'] as $index => $goods) {?>
						    <li>
								<a href="#">
									<img style="width: 100%; height: 100%;" id="image<?=$index?>" src="<?=$goods['image']?>" />
								</a>
							</li>
						<?php }?>
						</ul>
					</div>

					<div class="hd">
						<ul></ul>
					</div>
				</div>
			</div>
		</div>
		<style type="text/css">
			.panel:first-child{
				margin-bottom: 0px;
			}
		</style>
		<div class="col-lg-4">
			<div class="panel panel-default">
				<!-- Default panel contents -->
				<div class="panel-heading">活动资讯</div>
				<!-- List group -->
				<ul class="list-group">
					<?php foreach ($product['article'] as $article) {?>
					<li class="list-group-item" style="text-align: left;"><?=$article['title']?> <span class="badge">14</span></li>
					<?php }?>
				</ul>
			</div>

			<div class="panel panel-default">
				<!-- Default panel contents -->
				<div class="panel-heading">活动进度</div>
				<!-- List group -->
				<ul class="list-group">
					<?php foreach ($product['where'] as $where) {?>
					<li class="list-group-item" style="text-align: left;"><?=$where['title']?> <span class="badge">14</span></li>
					<?php }?>
				</ul>
			</div>
		</div>
		<div class="col-lg-4">
			<div id="slideBox1" class="slideBox">

				<div class="bd">
					<ul>
					<?php foreach ($product['human'] as $human) {?>
					    <li>
							<a href="#"><img style="height: 285px;" class="img-responsive" title="<?=$human['name']?>" src="<?=$human['image']?>"></a>
							<a class="tit" href="#"><?=$human['name']?></a>
						</li>
					<?php }?>
					</ul>
				</div>

				<div class="hd">
					<ul></ul>
				</div>
			</div>
			<div class="panel panel-default">
				<!-- Default panel contents -->
				<div class="panel-heading">人物简介</div>
				<!-- List group -->
				<ul class="list-group">
					<?php foreach ($product['starNew'] as $starNew) {?>
					<li class="list-group-item" style="text-align: left;"><?=$starNew['title']?><span class="badge">14</span></li>
					<?php }?>
				</ul>
			</div>
		</div>
	</div>
</div>

<?php }?>
